﻿@model XSTDZ.ERP.Application.DataContracts.ProductAllotDto

@{
    ViewBag.Title = " - 查看调拔";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
     <link href="@Url.Content("~/Content/Form.css")" rel="stylesheet" type="text/css" />
}
<div class="wp100">

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <table class="formtable">
    <thead>
        <tr>
            <th colspan="4">@* <h2>新增入库单</h2>*@
            <div id="toptoolbar"></div>
            </th>
        </tr>
    </thead>
    <tr>
       
        <td class="title"> @Html.LabelFor(model => model.AllotNo)</td>
        <td> @Html.TextBoxFor(model => model.AllotNo, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.AllotNo)
         <input type="hidden" value="@ViewBag.TempId" id="hidbillDetailId" name="hidbillDetailId"   />
          @Html.HiddenFor(model => model.Id)
          @Html.HiddenFor(model => model.BillState)
        </td>
        <td class="title"></td>
        <td> 
         </td>
  </tr>

     <tr>
       <td class="title">@Html.LabelFor(model => model.AllotOrgID)</td>
        <td>  @Html.TextBoxFor(model => model.AllotOrgName, new { @class = "text disablebg", @readonly = "readonly" })
          @Html.HiddenFor(model => model.AllotOrgID)
            @Html.ValidationMessageFor(model => model.AllotOrgID)
         </td>
        <td class="title">@Html.LabelFor(model => model.AllotorID)</td>
        <td> 
        @Html.TextBoxFor(model => model.AllotorName, new { @class = "text disablebg", @readonly = "readonly" })
         @Html.HiddenFor(model => model.AllotorID)
        @Html.ValidationMessageFor(model => model.AllotorID)
        </td>
  </tr> 

     <tr>
           
          <td class="title">@Html.LabelFor(model => model.FromClientID)</td>
        <td> 
        @Html.TextBoxFor(model => model.FromClientName, new { @class = "text disablebg", @readonly = "readonly" })
         @Html.HiddenFor(model => model.FromClientID)
        @Html.ValidationMessageFor(model => model.FromClientID)
        </td>
       
 
         <td class="title"> @Html.LabelFor(model => model.ToClientID)</td>
        <td> @Html.TextBoxFor(model => model.ToClientName, new { @class = "text disablebg", @readonly = "readonly" })
         @Html.HiddenFor(model => model.ToClientID)
        @Html.ValidationMessageFor(model => model.ToClientID)
        </td>

</tr>
<tr>
        <td class="title"> @Html.LabelFor(model => model.Remarks)</td>
        <td> @Html.TextBoxFor(model => model.Remarks, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.Remarks)
        </td>
          <td class="title"></td>
        <td> 
         </td>
  </tr> 
    </table>
}
</div>
<div class="wp100">
<div id="ProductAllotItemDetailGrid" style="margin-top:20px" ></div>
</div>
<script type="text/javascript" src="@Url.Content("~/Content/js/formBase.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/js/ProductAllot/Detail.js")"></script>